<?php
/**
 * HITI AdminCP
 *
 * @package     HITI AdminCP Project
 * @since       Monday, October 21, 2013, 6:00 PM
 * @final       
 * @category    Controllers
 * @see 		Demo
 * @author      PHUOCNGUYEN - HITI Dev Team
 * @copyright   Copyright (c) 2013, HITI Corp
 */

class Demo extends CI_Controller {
    public function __construct() {
		parent::__construct();
		/*
		* Load hiti model
		*/
		$this->load->model('hiti_model', 'hiti', true);
		/*
		* Load config
		*/
		$this->hiti->load_config();
        $this->uri_arr = array(
            'deleted' => $GLOBALS['var']['deleted'], 
            'q' => '',
            'rowstart' => ''
        );
        include "products.php";
        foreach ($products as $data)
        {
            $data['keyword'] = url_title(viet_decode($data['name_vn']), '-', true);
            //$this->db->insert('products', $data);
        }
	}

    public function index()
    {

        //$client = new SoapClient('http://bc.vht.com.vn:8440/vht/services/sms?wsdl');
        //echo '<pre>';
        //print_r($client->__getFunctions());
        //echo '</pre>';
        //$client->sendSmsReport('wd','rgr','0984393623','wefwefhvwefcewfewhfce wfewyfbewjfew fweyf','http://localhost/admincp.hiti.info.vn/quanly/demo');
    }


}
?>